home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wildcat Files 2
/
The Wildcat Files 2 (Arsenal Computer).ISO
/
wccode
/
jackpot3.wcx
(
.txt
)
< prev
next >
Wrap
Wildcat! WCX
|
1995-03-09
|
3KB
|
107 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 2582 bytes 01/31/123 10:08:44pm
'! Code Segment Size :1636 bytes
'! Data Segment Size :4511 bytes
'! String Segment Size:946 bytes
'! Compiled with WCC version 4.01
Dim i4463 As Integer
Dim i4465 As Integer
Dim i4467 As Integer
Dim i4469(0 To 4) As Integer
Dim s4479(0 To 4) As String*1
Dim s4484(0 To 4) As String*1
Dim i4489 As Integer
Dim s4491(0 To 4) As String
Dim l65500_ As Long
Dim i65504_ As Integer
Dim l65506_ As Long
Dim i65510_ As Integer
Dim l65512_ As Long
Dim i65516_ As Integer
Dim l65518_ As Long
Dim i65522_ As Integer
Dim l65524_ As Long
Dim i65528_ As Integer
Dim l65530_ As Long
Dim i65534_ As Integer
Cls
Print "@0D@WcJackpot 3.0 @0E@■ @0F@Tacoma, WA"
Print
Print " @19@┌──────────────────────────────@10@┐@0F@"
Print " @19@│@1E@ In Memory of: @10@│@0F@"
Print " @19@│@1E@ @1C@Starship USS Sapphire @1E@ @10@│@0F@"
Print " @19@│@1E@ @12@ 10/93 - 12/94@1E@ @10@│@0F@"
Print " @19@│@1E@ David Lechnyr, Fleet Admiral @10@│@0F@"
Print " @19@└@10@──────────────────────────────┘@0F@"
Print
Print "@07@To boldy go where no BBS has gone before...@0F@"
Print
Print
Print "@0E@Wager is 5 minutes with a maximum return of 15"
If Not InputYesNo("@0B@Would you like to play the Starfleet Lottery today?@0E@ ", 1213417543) Then
Else
159 Print "Enter the five digits you think the Security Guard will select: ";
188 For i4465 = 0 To 4 Step 1
Do
238 s4479(i4465) = InKey(1213417543)
Loop Until s4479(i4465) > ""
Print s4479(i4465);
s4484(i4465) = s4479(i4465)
Next
416 Print
Print "@0C@"; Chr(34); "Hmmm..."; Chr(34); "@03@ the Security Guard says. @0C@"; Chr(34); "Let's see..."; Chr(34); "@03@ He chooses : @0A@";
503 For i4465 = 0 To 4 Step 1
i4469(i4465) = Rnd * 10 Mod 10
s4491(i4465) = Str(i4469(i4465))
Print i4469(i4465);
Next
713 Print "@0D@"
Print
i4465 = 0
750 For i4489 = 0 To 4 Step 1
820 For i4467 = 0 To 4 Step 1
If s4479(i4467) <> "!" Then
If Val(s4479(i4467)) = i4469(i4489) Then
i4465 = i4465 + 1
s4479(i4467) = "!"
End If
End If
1020 Next
1043 Next
1066 i4463 = 0
1092 For i4489 = 0 To 4 Step 1
1162 For i4467 = 0 To 4 Step 1
If s4491(i4467) <> "!" Then
If s4491(i4467) = s4484(i4489) Then
i4463 = i4463 + 1
s4491(i4467) = "!"
End If
End If
1362 Next
1385 Next
1408 If i4465 > i4463 Then
i4465 = i4463
End If
1436 If i4465 = 1 Then
Print "You got "; i4465; " digit right! You won 3 minutes!"
AddTime 3
Else
1485 If i4465 > 1 Then
i4467 = i4465 * 3
Print "Congratulations! You got "; i4465; " digits right! You won "; i4467; " minutes!"
AddTime i4467
Else
1565 If i4465 = 0 Then
Print "Sorry, you didn't get any matching digits! Decreasing time by 5 minutes."
AddTime - 5
End If
End If
End If
1595 Print "@09@Time left on Sapphire BBS: @0E@"; TimeLeft
WaitEnter
End If
1612